// 获取车队信息
export const getFleetInfo = `
query($driver_id:Int){
  getFleetInfo(driver_id:$driver_id){
    id
    name
    nickname
    mobile
    money
    total_money
    price
    is_main
}}
`;
// 获取车队成员
export const getFleetDriverList = `
query($fleet_id:Int){
  getFleetDriverList(fleet_id:$fleet_id){
    id
    fleet_id
    driver_name
    driver_mobile
    driver_avatar
    driver_id
}}
`;
// 获取充值订单
export const getFleetRechargeList = `
query($fleet_id:Int,$page: Int, $start: String, $end: String,){
  getFleetRechargeList(fleet_id:$fleet_id,page: $page, start: $start, end: $end){
    list{
      id
      order_sn
      createtime
      status
      status_text
      driver_name
      pay_fee
      invoice_id
      invoice_status
    }
    total
    lastpage
    money
}}
`;
// 获取车队加注机列表
export const getFleetFillList = `
query($fleet_id:Int){
  getFleetFillList(fleet_id:$fleet_id){
    id
    fleet_id
    fill_id
    fill_name
}}
`;
// 获取车队账户变动明细
export const getFleetMoneyLog = `
query($fleet_id:Int,$page: Int, $start: String, $end: String){
  getFleetMoneyLog(fleet_id:$fleet_id,page: $page, start: $start, end: $end){
    list{
      id
      type
      fleet_id
      use_driver_id
      item_id
      money
      before
      after
      memo
      createtime
      driver_name
      driver_mobile
    }
    total
    lastpage
}}
`;
//获取充值参数
export const getRechargeData = `
query($fleet_id:Int,$code:String){
  getRechargeData(fleet_id:$fleet_id,code:$code){
    money
    price
    data{
        amount
        money
    }
}}
`;
//获取邀请图片
export const inviteDriver = `
query($fleet_id:Int,$driver_id:Int){
  inviteDriver(fleet_id:$fleet_id,driver_id:$driver_id){
    image
}}
`;
//发票详情
export const getInvoiceInfo = `
query($id:Int){
  getInvoiceInfo(id:$id){
    id
    order_id
    type
    title
    code
    bank
    bank_code
    mobile
    email
    createtime
    updatetime
    status
    status_text
    address
    name
}}
`;
//获取车队城市价格表
export const getFleetPrice = `
query{
  getFleetPrice{
    id
    name
    price
}}
`;